Skip to content

GrpcConnection: Re-use subscription thread#2651

Open
robem wants to merge 1 commit intovmware:masterfrom
robem:grpc-connection-thread-pool
Open

GrpcConnection: Re-use subscription thread#2651
robem wants to merge 1 commit intovmware:masterfrom
robem:grpc-connection-thread-pool

Conversation

@robem
Copy link
Copy Markdown
Contributor

@robem robem commented May 24, 2022

Continuously reading updates from subscription streams is the common case and
for some application performance critical. Therefore, instead of spawning a new
thread for every new Read() operation, this change introduces a thread pool
with a single thread to avoid the overhead.
This change has been tested as part of a wider effort to improve TRC.

Continuously reading updates from subscription streams is the common case and
for some application performance critical. Therefore, instead of spawning a new
thread for every new Read() operation, this change introduces a thread pool
with a single thread to avoid the overhead.
This change has been tested as part of a wider effort to improve TRC.
@robem robem requested a review from shgandhi May 24, 2022 16:23
@robem robem self-assigned this May 24, 2022
@robem robem requested a review from a team as a code owner May 24, 2022 16:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants